//
//  MyReusableView.m
//  Food
//
//  Created by dlios on 15/7/15.
//  Copyright (c) 2015年 李志远. All rights reserved.
//

#import "MyReusableView.h"

@implementation MyReusableView

- (void)dealloc
{
    [super dealloc];
    [_nameLabel release];
}

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        
        self.nameLabel = [[UILabel alloc] init];
        [self addSubview:self.nameLabel];
    }
    
    return self;
}

- (void)createView
{
    self.nameLabel.frame = CGRectMake(5, 0, 100, 20);
}


@end
